package com.emip.dao;

import java.util.List;

import com.emip.bean.WeekStoreBean;

public interface WeekStoreDAO {
	public List<WeekStoreBean> getByTimespan(int startYear, int startWeekth, 
			int endYear, int endWeekth);
	public List<WeekStoreBean> getByTimespan(int startYear, int startWeekth, 
			int endYear, int endWeekth, String[] items, String siteId);
	public List<WeekStoreBean> getByTimespan(int startYear, int startWeekth, 
			int endYear, int endWeekth, String[] items, String siteId, int page, int size);
	public WeekStoreBean merge(WeekStoreBean store);
	long getCount(int startYear, int startWeekth, 
			int endYear, int endWeekth, String[] itemIds, String siteId);
	String getLastDate(String itemId, String siteId);
	public Object[] getStatistics(int startYear, int startWeekth, 
			int endYear, int endWeekth, String itemIds, String siteId);
	public WeekStoreBean findByWeekth(String year, String weekth, String siteId, String itemId);
}
